import { Component, Input } from '@angular/core';
import { FormDefaultComponent } from '../basic-form-control/FormDefault.component';

@Component({
    selector: 'app-form-zip-extension-input',
    templateUrl: './FormZipExtension.component.html',
})
export class FormZipExtensionComponent extends FormDefaultComponent {
    @Input() zipControlId: string;
    @Input() zipExtensionControlId: string;

    constructor() {
        super();
    }

    getFormAttributes(formControlId: string) {
        return { ...this.configuration, ...{ formControlId } };
    }
}
